#ifndef __KCP_USE__
#define __KCP_USE__

#define MAGIC_LEN 4
#define CONTROL_MAGIC "CTRL"
#define DATA_MAGIC "DATA"
#define ACK_MAGIC "ACK_"
#include "ikcp.h"
//创建kcp实例时的上下文指针内容
struct kcpUser
{
	kcpUser(){memset(this,0,sizeof(kcpUser));};
    IUINT32 conv;
    int sockfd_local;
    ikcpcb* kcp;

};

#endif